Topological sort
Course Schedule II (LC210)
leetcode algorithm topological sort breadth first search depth first search
Comments CountProblem description
There are a total of n courses you have to take, labeled from 0 to n-1.
Course Schedule (LC207)
leetcode algorithm topological sort depth first search breadth first search
Comments CountProblem description
There are a total of n courses you have to take, labeled from 0 to n-1.